<template>
  <div>
    <h2>App组件</h2>
    <p v-upper-text='msg'></p>
    <p>settimeout:{{settimeout | date-format}}</p>
    <p>settimeout:{{settimeout| date-format('HH:mm:ss')}}</p>
  </div>
</template>

<script>
import Vue from 'vue'
  export default {
    name:'App',
    data(){
      return{
        msg:'hello worder',
        settimeout:Date.now()+2000
      }
    },
    mounted(){
      this.$test()
      Vue.test()
    }
  }
</script>

<style scoped>
  
</style>